From: Debian Rust Maintainers Date: Thu, 13 Jun 2024 09:16:41 +0000 (+0200) Subject: ubuntu-disable-ppc64el-asm-tests X-Git-Tag: archive/raspbian/1.95.0+dfsg1-2+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=be3c4c4770f78c60eec80641c9d5b941f3bd0aa0;p=rustc.git ubuntu-disable-ppc64el-asm-tests Forwarded: not-needed Gbp-Pq: Topic ubuntu Gbp-Pq: Name ubuntu-disable-ppc64el-asm-tests.patch --- diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index e7b821a400..2650772d72 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -2778,7 +2778,10 @@ declare_lint! { /// ### Example /// /// ```rust,compile_fail - /// # #![feature(asm_experimental_arch)] + /// #![cfg_attr( + /// not(any(target_arch = "powerpc64", target_arch = "s390x")), + /// feature(asm_experimental_arch) + /// )] /// use std::arch::asm; /// /// fn main() {